home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 726-750 / 749 / logman / logman.cfg < prev    next >
Text File  |  1995-03-18  |  2KB  |  65 lines

  1. ;
  2. ; Sample LOGMAN.cfg file
  3. ;
  4. ; Please use this cfg file as a template for deciding what you want
  5. ; LOGMAN to do for you.
  6. ;
  7. ; Usage for LOGMAN is as follows:
  8. ;  1> LOGMAN {logman-cfg-name}
  9. ;
  10. ; NOTE: You don't have to supply a cfg filename, as LOGMAN will first
  11. ; search for S:LOGMAN.cfg anyhow.
  12. ;
  13. ; The first "non-comment", and "non-blank" line must be the first
  14. ; logfile's name, including the full path structure!
  15. ;
  16. ; The second such line must begin with a "<" or a ">" sign, which tells
  17. ; LOGMAN just which way to act, and straight after this sign, you must
  18. ; include your logfile-size preference. This works in this way:
  19. ; - you may specify that you want actions taken on the preferred logfile
  20. ;   if the preferred logfile is SMALLER in size than the size that you
  21. ;   have nominated, or;
  22. ; - you may specify that you want actions taken on the preferred logfile
  23. ;   if the preferred logfile is LARGER in size than the size that you
  24. ;   have nominated.
  25. ; This means that in the example below, the actions will only be made if
  26. ; the file "vd0:trapdoor.log" is smaller than 40000 bytes.
  27. ;
  28. ; The "actions" to be made by LOGMAN are given below the size-prefs line.
  29. ; Only one entry per line is allowed.
  30. ; Also take care to include only one action per line.
  31. ; You can have as many actions per logfile as you like, so long as each
  32. ; action line is a viable "executable" action line. That is, that the action
  33. ; can be used in an AmigaDOS scriptfile and executed without error.
  34. ;
  35. ; The "#" character tells LOGMAN to stop taking/making actions based on
  36. ; the current logfile, and to continue with the next logfile, if one exists.
  37. ;
  38.  
  39. vd0:trapdoor.log
  40. <40000
  41. lha -q a ram:logs vd0:trapdoor.log
  42. del >nil: vd0:trapdoor.log
  43. #
  44.  
  45. ;
  46. ; In this next example, the string "Hello! Look what happened" will be echoed
  47. ; to the screen only if the file "LOGS:tick.log" is LARGER than 10000 bytes.
  48. ; The "#" character tells LOGMAN to stop taking/making actions based on
  49. ; the current logfile, and to continue with the next logfile, if one exists.
  50. ;
  51.  
  52. vd0:tick.log
  53. >10000
  54. echo "Hello! Look what happened!"
  55. #
  56.  
  57. ;
  58. ; This software is FREEWARE. This software is free. If you have paid
  59. ; money for this software, then you have been ripped off. I have written
  60. ; this program for you, for free. If you paid for "support" from where you
  61. ; got this file, then you are also being ripped off. There is only one
  62. ; person who can fully help you with the operation of this program:
  63. ; ME (Bob Rye, the guy who wrote this program.)
  64. ;
  65.